﻿using Susha.Models.Helpers;
using Susha.Models.Pages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Susha.Areas.Default.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Default/Home/

        public ActionResult Index()
        {
            HomePage page = new HomePage();
            page.NewsList = NewsRepository.GetSomeNews(PagesEnum.Home);

            return View(page);
        }
    }
}